import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import Router from 'vue-router'

import ECharts from 'vue-echarts/components/ECharts.vue'
import 'echarts/lib/chart/line'
import 'echarts/lib/chart/bar'
import 'echarts/lib/component/tooltip'
import 'echarts/lib/component/legend'
import 'echarts/lib/component/grid'
import 'echarts/lib/component/dataZoom'
import 'echarts/lib/component/markPoint'
import 'echarts/lib/component/markLine'
import echarts from 'echarts'

Vue.component('chart', ECharts)
Vue.use(axios)
Vue.use(Router)

Vue.prototype.$echarts = echarts 
Vue.prototype.$axios = axios  

new Vue({
  render: h => h(App),
}).$mount('#app')
